package com.sc.nft.admin.vo;

import com.sc.nft.annotation.Dict;
import com.sc.nft.annotation.DictValue;
import com.sc.nft.enums.SexEnums;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class LoginVO {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("用户性别")
    @Dict(enumType = SexEnums.class)
    private Integer sex;
    @ApiModelProperty("用户性别")
    @DictValue
    private String sexDesc;
    @ApiModelProperty("出生年月日")
    private Date userBirthday;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("角色Id")
    private Long roleId;
}
